{{if validation_errors()}}
<ul class="message error">
    <li>{{validation_errors()}}</li>
</ul>
{{/if}}

<div class="clear"></div>
<form class="block-content form" id="simple_form" method="post" action="create" enctype="multipart/form-data">
    <h1>{{$loto_item_reward->lang->line('data')}}</h1>
    <ul class="tabs js-tabs same-height">
        <li class="current"><a href="#tab-locales" title="Locales">{{$loto_item_reward->lang->line('current')}}</a></li>
        <li><a href="#tab-options" title="Options">{{$loto_item_reward->lang->line('options')}}</a></li>    
    </ul>
    <div class="tabs-content">

        <div id="tab-locales">
            {{if isset($loto_item_reward->id)}}{{form_hidden('id', $loto_item_reward->id)}}{{/if}}
            <fieldset>
                <legend>{{$loto_item_reward->lang->line('other_info')}}</legend>
                <p>
	                <label for="link">Tỷ lệ item: {{$loto_item_reward->get_item_name()}}</label>				
	                <input type="text" name="percent" class="full-width" value="{{if isset($loto_item_reward->percent)}}{{$loto_item_reward->percent}}{{/if}}">				
	            </p>               
            </fieldset>
        </div>
        <br><br><br><br>
        <fieldset class="grey-bg no-margin">
            <legend>{{$loto_item_reward->lang->line('action')}}</legend>
            <p class="input-with-button">
                <button type="submit">{{$loto_item_reward->lang->line('save')}}</button>
            </p>
        </fieldset>	

    </div>
</form>
